package com.topone.dto;

import com.topone.Enum.DynamicInfoEnum;

import javax.persistence.Id;
import java.util.Date;

public class DynamicDTO {

    @Id
    private String dynamicId;
    private String dynamicUrl;
    private String dynamicIcon;
    private String dynamicMsg;
    private String bussinessId;
    private String openid;
    private Integer status= DynamicInfoEnum.success.getCode();
    private Date createTime;
    private Date   updateTime;
    private BussinessDTO bussinessDTO;

    public String getDynamicId() {
        return dynamicId;
    }

    public void setDynamicId(String dynamicId) {
        this.dynamicId = dynamicId;
    }

    public String getDynamicUrl() {
        return dynamicUrl;
    }

    public void setDynamicUrl(String dynamicUrl) {
        this.dynamicUrl = dynamicUrl;
    }

    public String getDynamicIcon() {
        return dynamicIcon;
    }

    public void setDynamicIcon(String dynamicIcon) {
        this.dynamicIcon = dynamicIcon;
    }

    public String getDynamicMsg() {
        return dynamicMsg;
    }

    public void setDynamicMsg(String dynamicMsg) {
        this.dynamicMsg = dynamicMsg;
    }

    public String getBussinessId() {
        return bussinessId;
    }

    public void setBussinessId(String bussinessId) {
        this.bussinessId = bussinessId;
    }

    public String getOpenid() {
        return openid;
    }

    public void setOpenid(String openid) {
        this.openid = openid;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public BussinessDTO getBussinessDTO() {
        return bussinessDTO;
    }

    public void setBussinessDTO(BussinessDTO bussinessDTO) {
        this.bussinessDTO = bussinessDTO;
    }


}
